/*
package com.antgroup.seckill.business.common.config;

import org.springframework.amqp.core.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


*/
/**
 * @author wangxy
 * @date 2024/8/3 19:40
 *//*

@Configuration
public class RabbitMqConfig {

    private static final String QUEUE01 = "queue_fanout01";

    private static final String QUEUE02 = "queue_fanout02";

    private static final String EXCHANGE = "fanoutExchange";



    @Bean
    public Queue queue() {
        return new Queue("queue", true);
    }

    @Bean
    public Queue queue01() {
        return new Queue(QUEUE01);
    }

    @Bean
    public Queue queue02() {
        return new Queue(QUEUE02);
    }

    @Bean
    public FanoutExchange fanoutExchange() {
        return new FanoutExchange(EXCHANGE);
    }

    @Bean
    public Binding binding01() {
        return BindingBuilder.bind(queue01()).to(fanoutExchange());
    }
}
*/
